<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://www.pimpas.net/web/jsf" prefix="pimp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view>
	<html>
	<head>
	<title>PIMPAS FRAMEWORK - AJAX TESTS</title>
	<style>
	.personalDiv {
		background-color: pink;
		width: 400px;
		height: 300px;
	}
	</style>
	</head>
	<body>
	<h:form>
		<h:inputText id="name" value="#{bbTeste.name}">
		</h:inputText>
		<h:commandButton value="Enviar" actionListener="#{bbTeste.printName}" type="button">
			<pimp:ajaxPopulate event="onClick" render="nameValue"></pimp:ajaxPopulate>
		</h:commandButton>
		<h:outputText id="nameValue" value="#{bbTeste.name}"></h:outputText>
	</h:form>
		<pimp:ajaxPoolSize value="30"></pimp:ajaxPoolSize>
	</body>
	</html>
</f:view>